package com.jt;

import org.springframework.stereotype.Service;

import java.sql.SQLOutput;

@Service("target")
public class UserServiceImpl implements UserService {

    @Override
    public void addUser() {
        Long starTime= System.currentTimeMillis();
        System.out.println("新增用户");
        Long endTime=System.currentTimeMillis();
        System.out.println( "运行了"+(endTime-starTime)+"毫秒");
    }

    @Override
    public void deleteUser() {
        System.out.println("删除用户");
    }
}
